# test_curses.py
import curses

def main(stdscr):
    stdscr.clear()
    stdscr.box()
    stdscr.addstr(1, 1, "Hello from curses on Windows!")
    stdscr.addstr(2, 1, "Press any key to exit...")
    stdscr.refresh()
    stdscr.getch()

curses.wrapper(main)